package com.sjs.flow.service;

import com.sjs.flow.entity.vo.ProcessDefinitionVo;
import org.flowable.engine.repository.Deployment;

import javax.xml.stream.XMLStreamException;
import java.io.UnsupportedEncodingException;

/**
 * @author uto_dev_008
 * @desc
 * @since 2022/7/27 10:38
 * Copyright (c) 2021 南京友拓信息技术有限公司 All rights reserved
 */
public interface BpmnModelService {

    Deployment generateProcess(ProcessDefinitionVo processDefinitionVo);


    String getDefinition(String processKey) throws UnsupportedEncodingException;
}
